import { findUp } from '../../src/config/utils/findUp';
import { expect } from 'chai';

import { config } from '../../src/config';

describe('Config module', () => {
  it('resolves path to qarel.config.js', () => {
    const configFile = findUp('qarel.config.js');
    const expectedConfig = require(configFile);
    expect(config.loginUrl).to.equal(expectedConfig.loginUrl);
  });
});
